package com.yimixian.app.goods;

import com.yimixian.app.model.GoodsItem;
import com.yimixian.app.model.ImageInfo;
import com.yimixian.app.model.PromotionInfo;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2015/8/31.
 */
public class Good {

  public List<String> imgUrl;
  public String id;
  public String title;
  public String productby;
  public String promoType;
  public String stockCount = "";
  public String unitOldPrice;
  public String unitDesc;
  public double functionRatio;
  public String funtionImgurl;
  public List<ImageInfo> mImageInfos = new ArrayList<>();
  public String funtionDesc;
  public String unitPrice;
  public String saleStatus = "";
  public String newPromoteType = "";
  public GoodsItem mGoodsItem;

  public int getGoodsLevel() {
    return goodsLevel;
  }

  public void setGoodsLevel(int goodsLevel) {
    this.goodsLevel = goodsLevel;
  }

  public int goodsLevel=0;
  public Good(){
    
  }
  public Good(List imgUrl, String title, String productby, String id, String promoType,
              String stockCount, String unitOldPrice, String unitDesc, double functionImgRatio,
              String funtionImgurl, String funtionDesc, String unitPrice,List<ImageInfo> imageInfos,int goodsLevel) {
    this.imgUrl = imgUrl;
    this.title = title;
    this.productby = productby;
    this.id = id;
    this.promoType = promoType;
    this.stockCount = stockCount;
    this.unitOldPrice = unitOldPrice;
    this.unitDesc = unitDesc;
    this.functionRatio = functionImgRatio;
    this.funtionImgurl = funtionImgurl;
    this.funtionDesc = funtionDesc;
    this.unitPrice = unitPrice;
    this.mImageInfos = imageInfos;
    this.goodsLevel=goodsLevel;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public double getFunctionRatio() {
    return functionRatio;
  }

  public void setFunctionRatio(double functionRatio) {
    this.functionRatio = functionRatio;
  }

  public String getProductby() {
    return productby;
  }

  public void setProductby(String productby) {
    this.productby = productby;
  }

  public List<String> getImgUrl() {
    return imgUrl;
  }

  public void setImgUrl(List<String> imgUrl) {
    this.imgUrl = imgUrl;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getPromoType() {
    return promoType;
  }

  public void setPromoType(String promoType) {
    this.promoType = promoType;
  }

  public String getStockCount() {
    return stockCount;
  }

  public void setStockCount(String stockCount) {
    this.stockCount = stockCount;
  }

  public String getUnitOldPrice() {
    return unitOldPrice;
  }

  public void setUnitOldPrice(String unitOldPrice) {
    this.unitOldPrice = unitOldPrice;
  }

  public String getUnitDesc() {
    return unitDesc;
  }

  public void setUnitDesc(String unitDesc) {
    this.unitDesc = unitDesc;
  }

  public double getFunctionImgRatio() {
    return functionRatio;
  }

  public void setFunctionImgRatio(double functionImgRatio) {
    this.functionRatio = functionImgRatio;
  }

  public String getFuntionImgurl() {
    return funtionImgurl;
  }

  public void setFuntionImgurl(String funtionImgurl) {
    this.funtionImgurl = funtionImgurl;
  }

  public String getFuntionDesc() {
    return funtionDesc;
  }

  public void setFuntionDesc(String funtionDesc) {
    this.funtionDesc = funtionDesc;
  }

  public String getUnitPrice() {
    return unitPrice;
  }

  public void setUnitPrice(String unitPrice) {
    this.unitPrice = unitPrice;
  }
}
